package com.example.sherlockzhong.plush_v2.Components.buttons;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.LinearLayout;

/*
 * Created by DosonLeung on 2014/8/10.
 */

public abstract class BasicButton extends LinearLayout {
    public BasicButton(Context context) {
        super(context);
    }

    public BasicButton(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public boolean onTouchEvent(MotionEvent ev) {
        ButtonMotionEvent(ev);
        return true;
    }

    public abstract void ButtonMotionEvent(MotionEvent ev);
}
